﻿<Window x:Class="HeadLinx.AD.Explorer.ChartView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:hlinx="clr-namespace:HeadLinx.AD.Explorer"
        Title="HeadLinx Chart"
        Width="775"
        Height="550"
        Loaded="Window_Loaded"
        Closing="Window_Closing"
        SizeChanged="Window_SizeChanged"
        KeyDown="Window_KeyDown">

    <DockPanel LastChildFill="true">

        <Menu Name="mainMenu"
              IsMainMenu="True"
              DockPanel.Dock="Top">
            <MenuItem Header="File">
                <MenuItem Name="menuSaveChart"
                          Header="_Save..."
                          Click="menuSaveChart_Click">
                </MenuItem>
                <MenuItem Name="menuExportCanvas"
                          Header="_Export..."
                          Click="menuExportCanvas_Click" />
                <MenuItem Name="menuStats"
                          Header="Show S_tatistics"
                          Click="menuStats_Click">
                </MenuItem>
                <MenuItem Name="mnuExit"
                          Header="E_xit"
                          Click="mnuExit_Click">
                </MenuItem>

           </MenuItem>
            <MenuItem Header="Edit">
                <MenuItem Header="Copy Everyone to Clipboard">
                    <MenuItem Name="menuClipAll"
                              Header="All Information"
                              Click="menuClipAll_Click"></MenuItem>
                    <MenuItem Name="menuClipContact"
                              Header="Contact Information"
                              Click="menuClipContact_Click"></MenuItem>
                </MenuItem>
            </MenuItem>
            <Button Name="btnResetView"
                    Padding="5,0"
                    Click="btnResetView_Click">Fit to Window</Button>
        </Menu>
        
        <TextBlock Name="txtTitle"
                   DockPanel.Dock="Top"
                   Margin="10,5"
                   FontSize="16">[Title]</TextBlock>

        <hlinx:PanZoomViewer x:Name="panZoomViewer"
                             Background="DarkGray">
            <Canvas Name="canvas">
            </Canvas>
        </hlinx:PanZoomViewer>

    </DockPanel>
</Window>
